<? block_begin("Search"); 
print("<div id='search_block'>");
global $btit_settings; ?>
<form action="index.php" method="get" name="torrent_search">
  <input type="hidden" name="page" value="torrents" />
  <table border="0" align="center">
      <td><input 
      onfocus="if (this.value == 'Torrents') this.value='';"
   onblur="if(this.value == '') this.value='Torrents';" 
      type="text" name="search" size="15" maxlength="50" value="Torrents" /></td>     
</form>
  <form action="index.php" method="get" name="user_search">
  <input type="hidden" name="page" value="users" />
      <td><input 
      onfocus="if (this.value == 'Users') this.value='';"
   onblur="if(this.value == '') this.value='Users';" 
      type="text" name="searchtext" size="15" maxlength="50" value="Users" /></td>
      <input type="hidden" name="level" value="0" />
  </form>
 <? if ($btit_settings["forum"]=="smf") { ?>
  <form action="index.php?" method="get" name="smf_forum_search">
  <input type="hidden" name="page" value="forum" />
  <input type="hidden" name="action" value="search2" />
  <td><input 
   onfocus="if (this.value == 'Forums') this.value='';"
   onblur="if(this.value == '') this.value='Forums';" 
  type="text" name="search" size="15" maxlength="50" value="Forums" /></td>
  </form>
<? } elseif ($btit_settings["forum"]=="") { ?>	
	  <form action="index.php" method="get" name="xbtit_forum_search">
  <input type="hidden" name="page" value="forum" />
  <input type="hidden" name="action" value="search" />
      <td><input 
      onfocus="if (this.value == 'Forums') this.value='';"
      onblur="if(this.value == '') this.value='Forums';" 
      type="text" name="keywords" size="15" maxlength="50" value="Forums" /></td>
  </form>				
<? }
		
///////////////////// IF YOU USE ANOTHER FORUM SORRY I AM NOT ADDING THE SEARCH INTERGRATION FOR THAT/////////////////
?>
<form action="http://www.google.com/search" method="get" name="google_search">
      <td><input 
      onfocus="if (this.value == 'Google') this.value='';"
      onblur="if(this.value == '') this.value='Google';" 
      type="text" name="q" size="15" maxlength="50" value="Google" /></td>
  </form>
  <form action="http://nforce.nl/index.php?menu=quicknav&item=search" method="post" name="pre_search">
      <td><input 
      onfocus="if (this.value == 'Scene Releases') this.value='';"
      onblur="if(this.value == '') this.value='Scene Releases';" 
      type="text" class="searchText" name="search_name" size="15" maxlength="50" value="Scene Releases" />
	  <input class="searchButton" type="hidden" value="Search" name="submit_search">
      </td>
  </form>				
</table></div>
  <? block_end();?>
  